package com.ruoyi.agency.service.impl;

import com.ruoyi.agency.domain.Record;
import com.ruoyi.agency.mapper.RecordMapper;
import com.ruoyi.agency.service.IRecordService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author wf
 * @date 2024/11/26 11:23
 */
@Service
public class RecordServiceImpl implements IRecordService {
    @Autowired
    private RecordMapper recordMapper;

    @Override
    public Record selectRecordById(Long id) {
        return recordMapper.selectRecordById(id);
    }

    @Override
    public List<Record> selectRecordList(Record record) {
        return recordMapper.selectRecordList(record);
    }
}
